﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace ProjectManage.Core.Dto.SYS
{
    public class UpdateRoleMenuDto : BaseUpdate
    {
        [Comment("角色")]
        [Required, MaxLength(50)]
        public string RoleCode { get; set; }

        [Comment("菜单")]
        [Required, MaxLength(50)]
        public List<string> MenuCodes { get; set; }
    }
}
